<?php
class TaskTestFunctional extends sfTestFunctional
{
  public function loadData()
  {
    Doctrine_Core::loadData(sfConfig::get('sf_test_dir').'/fixtures');
 
    return $this;
  }
  public function getMostRecentMilestoneZeroTasks()
  {
    $q = Doctrine_Query::create()
      ->select('j.*')
      ->from('Task j')
	  ->orderBy('j.createdate DESC');
    return $q->fetchOne();
  }
}
?>